package com.ruoyi.project.gxgw_modules.common;

/**
 * @author tianpeidong
 * @version 2019.01.18
 * 订单状态
 */
public enum OrderState {

    UNDERWAY(0, "进行中"),

    FINISH(1, "已完成"),

    CANCEL(2, "已取消")

    ;

    private final Integer code;
    private final String description;

    OrderState(Integer code, String description) {
        this.code = code;
        this.description = description;
    }

    public Integer getCode() {
        return code;
    }

    public String getDescription() {
        return description;
    }
}
